<?php
$dataTree=array(
		array(
			'text'=>'Grampa', //must using 'text' key to show the text
			'link'=>array('url'=>'bilyn'),
			'children'=>array(//using 'children' key to indicate there are children
				array(
					'text'=>'Father',
					'children'=>array(
						array('text'=>'me'),
						array('text'=>'big sis'),
						array('text'=>'little brother'),
					)
				),
				array(
					'text'=>'Uncle',
					'children'=>array(
						array('text'=>'Ben'),
						array('text'=>'Sally'),
					)
				),
				array(
					'text'=>'Aunt',
				)
			)
		)
	);
	
$this->widget('CTreeView',array(
        'data'=>$dataTree,
        'animated'=>'fast', //quick animation
        'collapsed'=>'false',//remember must giving quote for boolean value in here
        'htmlOptions'=>array(
                'class'=>'treeview-red',//there are some classes that ready to use
        ),
));

$this->widget('views.widgets.BTreeMenu.BTreeMenu',array(
        'data'=>$dataTree,
//        'animated'=>'fast', //quick animation
//        'collapsed'=>'false',//remember must giving quote for boolean value in here
        'htmlOptions'=>array(
                'id'=>'jQ-menu',//there are some classes that ready to use
        ),
));

